<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WebCamera</title>
    <link rel="shortcut icon" type="image/x-icon" href="./customized/favicon.ico">
    <link rel="stylesheet" href="./css/style.css">
    <!-- <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script> -->
	<script src="./jquery-1.10.2/jquery.min.js"></script>
</head>

<body>

    <div id="main">
        <div id="Chrome">
            <!-- 摄像头 -->
            <img id="chrome_img" alt="">
        </div>
        <div id="OCX">
            <!-- OCX -->
            <OBJECT classid="clsid:A4B4E9B5-78E6-4CE3-B8A1-4B36237943F8" id="ocxstreamimage"
                name="showVideoOcx"></OBJECT>

        </div>
        <!-- 日志 -->
        <!-- <div id="log">本demo仅供参考<br />我是操作日志</div> -->
         <!-- 图片缩略图显示 -->
        <div id="container"></div>
    </div>
    <!-- 画框 -->
    <div id="rect" class="test"></div>
    <div>
        <div id="outerdiv"
            style="position:fixed;top:0;left:0;background:rgba(0,0,0,0.7);z-index:2;width:100%;height:100%;display:none;">

            <div id="innerdiv" style="position:absolute;">
                <img id="bigimg" style="border:5px solid #fff;" src="" />
            </div>
        </div>
        <div class="wrapper">
            <input type="radio" name="gender" id="bro1" checked />
            <label for="bro1">操作</label>

            <div class="divbody">
                <hr>
                <h5>设备列表 :</h5><select id="device" style="width: 90px" onchange="selectDevice()"></select>
                <h5> 设备分配率 :</h5><select id="resolution" style="width: 90px" onchange="selectResolution()"></select>
                <h5>画质 :</h5>
                <select class="colorMode" style="width: 90px" onchange="Quality(this.selectedIndex)">
                    <option>默认质量</option>
                    <option>高质量</option>
                    <option>较高质量</option>
                    <option>中等质量</option>
                    <option>较差质量</option>
                    <option>差质量</option>
                </select>
                <br>
                <button onclick="GrabImage()"> 拍照</button>
                <!-- <button onclick="OpenCamera()">打开摄像头</button>
                <button onclick="CloseCamera()">关闭摄像头</button> -->
                <button onclick="OpenDeskew()">开启纠偏裁边(关闭)</button>
                <button onclick="Rotation()">旋转图片</button>
            </div>
    </div>
    <script src="./api/javascript_method.js"></script>
    <script src="./customized/thumbnail_customized.js"></script>
    <script src="./api/AndroidSerialPort.js"></script>
    <script src="./api/equipment.js"></script>
    <script src="./api/Gaopaiyi.js"></script>
    <script src="./api/FaceContrast.js"></script>
    <script src="./api/PDF.js"></script>
    <script src="./api/OCR.js"></script>
</body>

</html>